<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Ext JS Calendar Sample</title>
	<%@ include file="/common/meta_ext.jsp"%>
	
    <!-- Calendar-specific includes -->
	<link rel="stylesheet" type="text/css" href="${ctx}/resources/js/ext/examples/calendar/resources/css/calendar.css" />
    <script type="text/javascript" src="${ctx}/resources/js/ext/examples/calendar/src/Ext.calendar.js"></script>
    <script type="text/javascript" src="${ctx}/resources/js/ext/examples/calendar/src/templates/DayHeaderTemplate.js"></script>
    <script type="text/javascript" src="${ctx}/resources/js/ext/examples/calendar/src/templates/DayBodyTemplate.js"></script>
    <script type="text/javascript" src="${ctx}/resources/js/ext/examples/calendar/src/templates/DayViewTemplate.js"></script>
    <script type="text/javascript" src="${ctx}/resources/js/ext/examples/calendar/src/templates/BoxLayoutTemplate.js"></script>
    <script type="text/javascript" src="${ctx}/resources/js/ext/examples/calendar/src/templates/MonthViewTemplate.js"></script>
    <script type="text/javascript" src="${ctx}/resources/js/ext/examples/calendar/src/dd/CalendarScrollManager.js"></script>
    <script type="text/javascript" src="${ctx}/resources/js/ext/examples/calendar/src/dd/StatusProxy.js"></script>
    <script type="text/javascript" src="${ctx}/resources/js/ext/examples/calendar/src/dd/CalendarDD.js"></script>
    <script type="text/javascript" src="${ctx}/resources/js/ext/examples/calendar/src/dd/DayViewDD.js"></script>
    <script type="text/javascript" src="${ctx}/resources/js/ext/examples/calendar/src/EventRecord.js"></script>
	<script type="text/javascript" src="${ctx}/resources/js/ext/examples/calendar/src/views/MonthDayDetailView.js"></script>
    <script type="text/javascript" src="${ctx}/resources/js/ext/examples/calendar/src/widgets/CalendarPicker.js"></script>
    <script type="text/javascript" src="${ctx}/resources/js/ext/examples/calendar/src/WeekEventRenderer.js"></script>
    <script type="text/javascript" src="${ctx}/resources/js/ext/examples/calendar/src/views/CalendarView.js"></script>
    <script type="text/javascript" src="${ctx}/resources/js/ext/examples/calendar/src/views/MonthView.js"></script>
    <script type="text/javascript" src="${ctx}/resources/js/ext/examples/calendar/src/views/DayHeaderView.js"></script>
    <script type="text/javascript" src="${ctx}/resources/js/ext/examples/calendar/src/views/DayBodyView.js"></script>
    <script type="text/javascript" src="${ctx}/resources/js/ext/examples/calendar/src/views/DayView.js"></script>
    <script type="text/javascript" src="${ctx}/resources/js/ext/examples/calendar/src/views/WeekView.js"></script>
    <script type="text/javascript" src="${ctx}/resources/js/ext/examples/calendar/src/widgets/DateRangeField.js"></script>
    <script type="text/javascript" src="${ctx}/resources/js/ext/examples/calendar/src/widgets/ReminderField.js"></script>
    <script type="text/javascript" src="${ctx}/resources/js/ext/examples/calendar/src/EventEditForm.js"></script>
    <script type="text/javascript" src="${ctx}/resources/js/ext/examples/calendar/src/EventEditWindow.js"></script>
    <script type="text/javascript" src="${ctx}/resources/js/ext/examples/calendar/src/CalendarPanel.js"></script>
	
    <!-- App -->
    <link rel="stylesheet" type="text/css" href="${ctx}/resources/js/ext/examples/calendar/resources/css/examples.css" />
	<script type="text/javascript" src="${ctx}/resources/js/ext/examples/calendar/app/calendar-list.js"></script>
	<script type="text/javascript" src="${ctx}/resources/js/ext/examples/calendar/app/event-list.js"></script>
	<script type="text/javascript" src="${ctx}/common/calendar/calendar.js"></script>
	
	 <!-- calendar汉化文件 -->
    <script type="text/javascript" src="${ctx}/common/calendar/calendar-lang-zh_CN.js"></script>

	<script type="text/javascript" src="${ctx}/common/calendar/SelectUserGrid.js"></script>
	
	<script type="text/javascript" src="${ctx}/resources/js/aos/ext_ux/BasicGrid.js"></script>
	<script type="text/javascript" src="${ctx}/resources/js/aos/ext_ux/CrudGrid.js"></script>
	<script type="text/javascript" src="${ctx}/common/system/public/js/UserGrid.js"></script>
	
	
	<script src="${ctx}/common/calendar/filterTree/TreeFilter.js" type="text/javascript"></script>
	<script src="${ctx}/common/calendar/filterTree/PinyinFilter.js"type="text/javascript"></script>
	
	<script type="text/javascript" src="${ctx}/common/calendar/SelectUserWindow.js"></script>
</head>
<body>
    <div style="display:none;">
    </div>
</body>

<script>
	var ctx = "${ctx}";
	var loginUserId = "${sessionScope.SES_LOGIN_USER.user.userId}";
	var loginUserCode = "${sessionScope.SES_LOGIN_USER.user.userCode}";
	var loginUserName = "${sessionScope.SES_LOGIN_USER.user.userName}";
	
    //removes the highlight on updated events
    Ext.override(Ext.calendar.CalendarView, {
       doUpdateFx: Ext.emptyFn
    });
    
    
    
</script>
</html>